<template>
    <div class="main">
        <div class="left">
            <div class="up-buttons">
                <div class="new-chat">
                    <img src="../images/加号.png" width="20px" height="20px"/>
                    <span>New Chat</span>
                </div>
                <div class="zhedie">
                    <img src="../images/折叠导航.png" width="20px" height="30px"/>
                </div>
            </div>
            <div class="chat-list">
                
            </div>

            <div class="user-info">

            </div>
        </div>
        <div class="right">
            <div class="right-head">这是右边上</div>
            <div class="right-content"></div>
            <div class="right-foot"></div>
        </div>
    </div>
</template>

<script setup>
import { ref } from "vue";

</script>

<style scoped>
.new-chat{
    margin-top: 10px;
    padding-right: 10px;
    margin-left: 10px;
    padding-left: 10px;
    width: 70%;
    border: 1px solid rgb(145, 143, 143);
    display: flex;
    justify-content:left;
    align-items: center;
    border-radius: 5px;
    /* background-color: blue; */
    cursor: pointer;
}
.zhedie{
    margin-top: 10px;
    margin-left: 15px;
    width: 15%;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid rgb(149, 146, 146);

    display: flex;
    justify-content:center;
    align-items: center;
  
}
.new-chat img{
    margin-right: 5px;
}
.new-chat span{
    color:white;
    font-size: small;
}
.main {
  width: 100vw; /* 100% 屏幕宽度 */
  height: 100vh; /* 100% 屏幕高度 */
  background-color: #ccc; /* 盒子的背景颜色，可根据需要修改 */
  /* 其他样式属性 */
    display: flex;
}

.left {
    background-color: rgb(28, 25, 25);
    height: 100%;
    width: 13%;
}

.right {
    background-attachment: red;
    height: 100%;
}
.up-buttons{
    height: 50px;
    /* background: #ccc; */
    display: flex;
}
</style>
